package co.yixiang.huiMin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * <p>
 * 教育视频
 * </p>
 *
 * @author Author
 * @since 2020-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Entity
@TableName("teaching_video")
public class TeachingVideo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 教学视频Id
     */
    @Id
    @TableId(value = "teaching_video_id", type = IdType.AUTO)
    @Column(name = "teaching_video_id")
    @ApiModelProperty("视频Id")
    private Integer teachingVideoId;

    /**
     * 教学视频所需Vip
     */
    @Column(name = "teaching_video_vip_level")
    @ApiModelProperty("视频Vip等级")
    private String teachingVideoVipLevel;

    /**
     * 教学视频分类
     */
    @Column(name = "teaching_video_classify")
    @ApiModelProperty("视频分类")
    private String teachingVideoClassify;
    /**
     * 教学视频地址
     */
    @Column(name = "teaching_video_path")
    @ApiModelProperty("视频地址")
    private String teachingVideoPath;

    /**
     * 教学视频的标题
     */
    @Column(name = "teaching_video_title")
    @ApiModelProperty("视频的标题")
    private String teachingVideoTitle;

    /**
     * 教学视频的简介
     */
    @Column(name = "teaching_video_intro")
    @ApiModelProperty("视频的简介")
    private String teachingVideoIntro;

    /**
     * 教学视频是否删除
     */
    @Column(name = "teaching_video_is_del")
    private Boolean teachingVideoIsDel;


    /**
     * 教学视频名称
     */
    @Column(name = "teaching_video_name")
    @ApiModelProperty("教学视频名称")
    private String teachingVideoName;
}
